package com.yunhe.day322.dao;

import com.yunhe.day322.domain.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ProductDao {
    void addProduct(Product product);

    List<Product> findAllProduct();

    Product findById(String pid);

    void edit(Product product);

    void deleteById(String id);

    List<Product> findAll();


}
